home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / DTS.Lib / DTS.Lib.headers / AERequired.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-11  |  1.1 KB  |  41 lines  |  [TEXT/MPS ]

  1. #ifndef __AEREQUIRED__
  2. #define __AEREQUIRED__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8. #ifndef __APPLEEVENTS__
  9. #include <AppleEvents.h>
  10. #endif
  11.  
  12.  
  13.  
  14. OSErr            InitRequiredAppleEvents(void);
  15.     /*
  16.     **    ¶ Initializes AppleEvent dispatcher for the required AppleEvents.
  17.     **
  18.     **    RESULT:    OSErr
  19.     **
  20.     **    Intializes AppleEvent dispatcher table for the required events.  It also determines if the
  21.     **    machine is PPCBrowser and AppleEvent capable.  If so, the booleans gHasAppleEvents and
  22.     **    gHasPPCToolbox are set true.  This function must be the first AppleEvents initialization
  23.     **    DTS.framework function called, as the other functions depend on the booleans being set
  24.     **    correctly. */
  25.  
  26.  
  27.  
  28. pascal OSErr    DoAEOpenApplication(AppleEvent *message, AppleEvent *reply, long refcon);
  29.     /*
  30.     **    ¶ AppsToGo event handler for 'oapp' AppleEvent.
  31.     **
  32.     **    INPUT:    message        AppleEvent for 'oapp' event.
  33.     **            reply        Reply for 'oapp' event.
  34.     **            refcon        Refcon for 'oapp' event.
  35.     **
  36.     **    This function is the standard AppleEvent handler installed by InitRequiredAppleEvents.
  37.     **    You should never call this directly. */
  38.  
  39.  
  40. #endif
  41.